﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TestApplication
{
    public class DataAccess
    {
        public static Employee GetEmployeeRandom()
        {
            int i = GetNumberRandom();
            Console.WriteLine("Employee created");
            return new Employee { FirstName = "Borg ", LastName = i.ToString(), ID = i };
            
        }

        public static int GetNumberRandom()
        {
            var r = new Random();
            return r.Next(1, 10000);
        }
    }
}
